﻿<%@ Page Language="C#" MasterPageFile="~/shop.Master" AutoEventWireup="true" CodeBehind="dingdanlist.aspx.cs" Inherits="WebApplication6.dingdanlist" Title="无标题页" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<table width="100%" border="1">

<tr>
<td align="center" colspan="8"><span style="color:Red;font-size:20px;font-weight:bold;">
    我的订单</span></td>
</tr>

<tr>
<td align="center">订单号</td>
<td align="center">收货人姓名</td>
<td align="center">收货地址</td>
<td align="center">联系方式</td>
<td align="center">订单总价</td>
<td align="center">订单生成时间</td>
<td align="center">订单状态</td>
<td align="center">操作</td>
</tr>


<asp:Repeater runat="server" ID="dingdanlistRepeater" >
    
    <ItemTemplate>

<tr>
<td align="center"><%#Eval("orderid")%></td>
<td align="center"><%#Eval("truename")%></td>
<td align="center"><%#Eval("address")%></td>
<td align="center"><%#Eval("phone")%></td>
<td align="center"><%#Eval("zongjia")%></td>
<td align="center"><%#Eval("createtime")%></td>
<td align="center"><%#Eval("zhuangtai")%></td>
<td align="center">
<a href="dingdan2.aspx?id=<%#Eval("id")%>">查看明细</a>
</td>


</tr>


</ItemTemplate>
    
</asp:Repeater>
<tr>
<td align="center" colspan="8">
<asp:hyperlink id="lnkPrev" runat="server">上页</asp:hyperlink>&nbsp;&nbsp;&nbsp;
<asp:hyperlink id="lnkNext" runat="server">下页</asp:hyperlink>&nbsp;&nbsp;&nbsp;
第<asp:label id="lblCurrentPage" runat="server"></asp:label>页 &nbsp;&nbsp;&nbsp;
共<asp:label id="lblTotalPage" runat="server"></asp:label>页

</td>
</tr>

</table>
</asp:Content>
